<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>精选帖子 - {:config('web.WEB_TIT')}</title>
<meta name="keywords" content="{:config('web.WEB_KEY')}">
<meta name="description" content="{:config('web.WEB_DES')}">
{include file="forum/header"}
<div class="main layui-clear">
  <div class="wrap">
    <div class="content" style="margin-right:0">
      {include file="forum/menu"}
      <!-- 版块帖子 -->
      <ul class="fly-list">
        {volist name="ThreadList" id="vo"}
        <li class="fly-list-li">
          {if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/home/{$vo.userid}.html" class="fly-list-avatar">{else/}<a href="__INDEX__/home/{$vo.userid}.html" class="fly-list-avatar">{/if}
            <img src="__ROOT__{$vo.userhead}" alt="{$vo.username}">
          </a>
          <h2 class="fly-tip">
            {if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/trd/{$vo.id}.html">{else/}<a href="__INDEX__/trd/{$vo.id}.html">{/if}{$vo.title}</a>
            {if condition="$vo['settop'] eq 1"}<span class="fly-tip-stick">置顶</span>{/if}
            {if condition="$vo['choice'] eq 1"}<span class="fly-tip-jing">精帖</span>{/if}
          </h2>
          <p>
            <span>{if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/home/{$vo.userid}.html">{else/}<a href="__INDEX__/home/{$vo.userid}.html">{/if}{$vo.username}</a></span>
            <span>{$vo.time|date="Y-m-d h:i:s",###}</span>
            <span>{if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/frm/{$vo.cid}.html">{else/}<a href="__INDEX__/frm/{$vo.cid}.html">{/if}{$vo.name}</a></span>
            <span class="fly-list-hint"> 
              <i class="iconfont" title="回答">&#xe60c;</i> {$vo.reply}
              <i class="iconfont" title="人气">&#xe60b;</i> {$vo.view}
            </span>
          </p>
        </li>
        {/volist}
      </ul>
      <!-- 分页导航 -->
      <div style="text-align: center">
        <div class="laypage-main">
          {$ThreadList->render()}
        </div>
      </div>  
    </div>
  </div>
</div>
{include file="forum/footer"}
</body>
</html>